package com.zhl.dao_;

import com.zhl.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2018/10/12.
 */
@Mapper
public interface RoleMapper {

    //添加日记
    List<Role> rolelist();
    Role queryRoleByid(@Param("id")String id);
    int addRoleFunction(@Param("rid")String rid,@Param("fid")String fid);
    int updateRole(Role role);
    int deleteRoleFunctionByRid(@Param("rid")String rid);

}
